package org.example.clouddemo.bean.common.param;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CreateOrderParam {
    @NotNull(message = "产品ID不能为空")
    private Long productId;
    
    @NotNull(message = "购买数量不能为空")
    private Integer quantity;
    
    private Long userId;
}